﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Website/Views/Shared/Master.Master"
    Inherits="System.Web.Mvc.ViewPage<NewsViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <ul>
        <% foreach (ENews item in Model.NewsList)
           {
        %>
        <li><span class="floatRight">
            <%= item.WriteTime %></span>
            <%= Html.ActionLink(item.Title, "info", new { newsId = item.NewsId})%></li>
        <%
            }
        %>
    </ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <%= HtmlMetaHelper.HtmlTitle(Model.Classify.Title, Model.Classify.KeyWords, Model.Classify.Description)%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cssLink" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="jsLink" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cssContent" runat="server">
    <style type="text/css">
        .news_box ul li
        {
            list-style-position: inside;
            margin: 5px;
            list-style-type: square;
        }
    </style>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="jsContent" runat="server">
</asp:Content>
